<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
    <!-- <mate name="flexibel" content="initial-drl=2"/> -->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-touch-fullscreen" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
    <title>测终生运-知命</title>
    <!-- <script>!function(e){function t(a){if(i[a])return i[a].exports;var n=i[a]={exports:{},id:a,loaded:!1};return e[a].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var i={};return t.m=e,t.c=i,t.p="",t(0)}([function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=window;t["default"]=i.flex=function(e,t){var a=e||100,n=t||1,r=i.document,o=navigator.userAgent,d=o.match(/Android[\S\s]+AppleWebkit\/(\d{3})/i),l=o.match(/U3\/((\d+|\.){5,})/i),c=l&&parseInt(l[1].split(".").join(""),10)>=80,p=navigator.appVersion.match(/(iphone|ipad|ipod)/gi),s=i.devicePixelRatio||1;p||d&&d[1]>534||c||(s=1);var u=1/s,m=r.querySelector('meta[name="viewport"]');m||(m=r.createElement("meta"),m.setAttribute("name","viewport"),r.head.appendChild(m)),m.setAttribute("content","width=device-width,user-scalable=no,initial-scale="+u+",maximum-scale="+u+",minimum-scale="+u),r.documentElement.style.fontSize=a/2*s*n+"px"},e.exports=t["default"]}]); flex(100, 1);</script> -->
    <!--[if lt IE 9]>  
        <script src="http://cdn.bootcss.com/html5shiv/r29/html5.js"></script>  
    <![endif]-->
    <link rel="stylesheet" href="__PUBLIC__/css/ZM_share.css" />
    <style> 
        body{background:#e8e8e8;}
        .zm_form .zm_form_wrap ul{border-color:#e2ccb0;}
        .zm_form .zm_form_wrap ul li{border-color:#e2ccb0;}
        .zm_form .zm_form_wrap .form_left{color:#ff6000;}
        .zm_form .zm_form_wrap ul li .form_auto .on i{background-color: #3393ab;border-color:#3393ab;}
        .zm_form .zm_form_wrap ul li .form_auto span i {border-color:#3393ab;}
        .cs_btn{background:#31b6e7;}

        .bzzsy_abstract {margin: 0 10px;}
        .ba_tit {
            height: 30px;
            line-height: 30px;
            background-color: #fff;
            border: 1px solid #ddd;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
            padding: 0 10px;
            color: #2b2b2b;
        }
        .ba_photo {
            position: relative;
            overflow: hidden;
            background-color: #fff;
            border: 1px solid #ddd;
            border-top: none;
            padding: 10px;
            color: #6e5233;
        }
        .ba_photo .img_wrap {
            float: right;
            width: 120px;
            font-size: 12px;
            padding: 5px;
            text-align: center;
        }
        .ba_photo .img_wrap img {width: 100%;display: block;margin-bottom: 8px;}
        .ba_photo .img_wrap span {color: #ff6000;}
        .ba_tip {
            border: 1px solid #ddd;
            border-top: none;
            border-bottom-left-radius: 4px;
            border-bottom-right-radius: 4px;
            background-color: #fff;
            padding: 10px;
            text-align: center;
            font-size: 18px;
            color: #ff6000;
            position: relative;
            font-weight: 700;
        }
        .ba_tip:before {border-top: 8px solid #ddd;bottom: -8px;}
        .ba_tip:after, .ba_tip:before {
            content: "";
            position: absolute;
            width: 0;
            height: 0;
            left: 50%;
            margin-left: -4px;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
        }
        .ba_class {
            padding: 10px 40px;
            background-color: #fff;
            position: relative;
            min-height: 20px;
            line-height: 20px;
            color: #ff6000;
            margin-top:10px;
        }
        .ba_class:after, .ba_class:before {
            content: "";
            position: absolute;
            top: 50%;
            margin-top: -20px;
            width: 40px;
            height: 40px;
            background-repeat: no-repeat;
            background-size: 70%;
            background-position: center;
        }
        .ba_class::before {left: 0;background-image: url("__PUBLIC__/images/czsy_img/icon1.png");}
        .ba_class::after {right: 0;background-image: url("__PUBLIC__/images/czsy_img/icon2.png");}
    </style>
<body>
    <header class="share_header">
        <h1 class="zm">测终生运</h1>
        <include file="Public/bzhhtop"/>

    </header>
    <div class="zm_banner">
        <img src="__PUBLIC__/images/czsy_img/banner.jpg" width="100%" />
    </div>
    <ul class="zm_tab">
        <li class="curr">
            <a href="javascript:;" style="background:#3393ab;">八字终生运</a>
        </li>
    </ul>
    <form id="_form" class="zm_form" action="<!--{:U('Czsy/czsy_zhifu','',false)}-->" method="post">
        <div class="zm_form_wrap">
            <ul>
                <li>
                    <div class="form_left">您的姓名</div>
                    <div class="form_auto">
                        <input type="text" class="bg_no" placeholder="请输入名字(必须汉字)" id="username" name="username"/>
                    </div>
                </li>
                <li>
                    <div class="form_left">您的性别</div>
                    <div class="form_auto">
                        <span class="on" id="but_man" data-value="1">
                            <i></i>
                            <font>男</font>
                        </span>
                        <span id="but_woman" data-value="0">
                            <i></i>
                            <font>女</font>
                        </span>
                        <input type="hidden" id="sex" name="gender" value="1"/>
                    </div>
                </li>
                <li>
                    <div class="form_left">出生日期</div>
                    <div class="form_auto">
                        <input type="text" class="Js_date" data-date="1985-04-18-7" id="datetime" name="birthday" placeholder="请选择日期" value="" readonly=""/>
                    </div>
                </li>
                <li>
                    <div class="form_left">出生时辰</div>
                    <div class="form_auto">
                        <select class="sel" name="hour">
                            <option value="0" selected="">时辰不清楚</option>
                            <option value="0">子时（23点-0点）</option>
                            <option value="2">丑时（1点-2点）</option>
                            <option value="4">寅时（3点-4点）</option>
                            <option value="6">卯时（5点-6点）</option>
                            <option value="8">辰时（7点-8点）</option>
                            <option value="10">巳时（9点-10点）</option>
                            <option value="12">午时（11点-12点）</option>
                            <option value="14">未时（13点-14点）</option>
                            <option value="16">申时（15点-16点）</option>
                            <option value="18">酉时（17点-18点）</option>
                            <option value="20">戌时 （19点-20点）</option>
                            <option value="22">亥时（21点-22点）</option>
                        </select>
                    </div>
                </li>
                <li>
                    <div class="form_left">感情现状</div>
                    <div class="form_auto">
                        <select class="sel" name="emotion">
                            <option value="单身" selected>单身</option>
                            <option value="交往中">交往中</option>
                            <option value="已婚">已婚</option>
                        </select>
                    </div>
                </li>
                <li>
                    <div class="form_left">子女现状</div>
                    <div class="form_auto">
                        <select class="sel" name="childrens">
                            <option value="无子女" selected>无子女</option>
                            <option value="有子女">有子女</option>
                        </select>
                    </div>
                </li>
                <li>
                    <div class="form_left">事业现状</div>
                    <div class="form_auto">
                        <select class="sel" name="enterprise">
                            <option value="普通职员" selected>普通职员</option>
                            <option value="主管">主管</option>
                            <option value="老板">老板</option>
                            <option value="待业中">待业中</option>
                            <option value="家庭主妇/主男">家庭主妇/主男</option>
                            <option value="其他">其他</option>
                        </select>
                    </div>
                </li>
            </ul>
        </div>
        <div class="agreement">
            <input type="checkbox" value=""  id="yes" checked/>同意
            <a href="javascript:;" style="color:#ff8b58" id="ppb_block">个人隐私协议</a>
        </div>
        <a href="javascript:;" class="cs_btn">立即测算</a>
        <div class="bzzsy_abstract">
            <div class="ba_tit">产品介绍</div>
            <div class="ba_photo">
                <div class="img_wrap">
                    <img src="__PUBLIC__/images/czsy_img/list.png" alt="陈少楷">测算老师：<span>陈少楷</span>
                </div>
                <p>这是一个非常专业、精细的八字测算从出生到百年之后，人生的每一阶段大运、否运都将为你呈现；且涵盖每个人一生中重大事件的描述，知情于此，对每个人来讲都会像是拥有一把开启人生宝藏的金钥匙。</p>
            </div>
            <div class="ba_tip">测算后，你将得到你人生秘密花园的七大机运“宝藏”</div>
            <div class="ba_class mt10">百年运势流年表，人生运势的活地图</div>
            <div class="ba_class mt10">人生每五年的运势详解和建议</div>
            <div class="ba_class mt10">全面且专业的八字命运排盘</div>
            <div class="ba_class mt10">个人大运，概括您一生的得失利弊</div>
            <div class="ba_class mt10">您的个性特征先天优势</div>
            <div class="ba_class mt10">您的事业是否能取得一定的功名？</div>
            <div class="ba_class mt10">你的财运将如何？</div>
            <div class="ba_class mt10">您会遇到怎样的爱情，婚姻？</div>
        </div>
    </form>
    <div class="hot_cs">

        <include file="Public/zhiming" />

    </div>
    <div class="ppb_bg" id="ppb">
        <div class="ppb_content">
            <div class="ppb_title">个人隐私协议</div>
            <include file="Public/agreement" />
            <div class="ppb_del" id="ppb_none"><b>关闭</b></div>
        </div>
    </div>
    <footer class="footer_severs">
        <include file="Public/bottom-index" />

    </footer>
    <div class="fiex_bt" id="fiex">
        <a href="#username">立即测算</a>
    </div>
    <script src="__PUBLIC__/js/jquery.min.js"></script>
    <script src="__PUBLIC__/js/layer/layer.js"></script>
    <script src="__PUBLIC__/js/jweixin_utils.js"></script>
    <script>
        $(".cs_btn").on('click',function(){
            if($("[name='username']").val() == ""){
                layer.msg("请输入您的名字");
                return false;
            }else if($("[name='username']").val().length < 2){
                layer.msg("姓名长度不能少于2");
                return false;
            }
            var patrn= /[\u4E00-\u9FA5]|[\uFE30-\uFFA0]/gi;
            if(!patrn.exec($("[name='username']").val())){
                layer.msg("请输入中文名字");
                return false;
            }
            if($("[name='birthday']").val() == ""){
                layer.msg("请选择生时");
                return false;
            }
            if(!$("#yes").prop('checked')){
                layer.msg("您未同意个人隐私协议");
                return false;
            }
            var oli = layer.load();
            setTimeout(function(){
                layer.closeAll('loading');
                layer.msg('订单提交成功', {icon: 1});
                setTimeout(function(){
                    $('#_form').submit();
                },1300);
            },1000);
        });
    </script>
</body>
</html>